package com.campus.common.message;

import java.io.Serializable;
import com.campus.common.vo.Admin;

public class AdminAccountManagementRequest extends BaseMessage implements Serializable {
    private String action;  // "list", "borrow", "return"
    private String adminId;
    private Admin admin;
    private String searchId;
    private String searchName;


    public AdminAccountManagementRequest() {}
    public AdminAccountManagementRequest(String action, String adminId) {
        this.action = action;
        this.adminId = adminId;
    }
    public AdminAccountManagementRequest(String action, Admin  admin) {
        this.action = action;
        this.admin = admin;
    }
    public AdminAccountManagementRequest(String action, String searchId, String searchName) {
        this.action = action;
        this.searchName = searchName;
        this.searchId = searchId;
    }

    public String getAction() { return action; }
    public String getAdminId() { return adminId; }
    public Admin getAdmin() { return admin; }
    public String getSearchId() { return searchId; }
    public String getSearchName() { return searchName ; }
}